/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 * <p>
 * https://www.renren.io
 * <p>
 * 版权所有，侵权必究！
 */

package com.theme.passport.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 查询主题表单
 *
 * @author Mark sunlightcs@gmail.com
 */
@Data
@ApiModel(value = "查询主题表单")
public class ThemeForm {
    @ApiModelProperty(value = "关键词", notes = "", required = false)
    private String keyword;

    @ApiModelProperty(value = "分类id,子分类", notes = "", required = false)
    private String classifyId;

    @ApiModelProperty(value = "分页页数当前显示第几页", notes = "", required = true)
    @NotBlank(message="显示第几页不能为空")
    private String page;

    @ApiModelProperty(value = "每页显示条数", notes = "", required = true)
    @NotBlank(message="每页条数不能为空")
    private String limit;

}
